package com.zsrt.day20170417.pm.pet1;
/**
*@author jzh
*@创建时间 2017年4月17日下午3:17:47
*类说明：
*/
public class Animal {
	
	String name;
	int age;
	String color;
	
	
	public Animal(){};
	public Animal(String name, int age, String color) {
		this.name = name;
		this.age = age;
		this.color = color;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "Animal [name=" + name + ", age=" + age + ", color=" + color + "]";
	}

	

	
	

}
